#!/bin/bash
top -b -n 10 -u user > ~/top10.log &
ps >> ~/work2.log
ps -e >> ~/work2.log
pstree -l >> ~/work2.log
killall tail
